<template>
  <el-select v-bind="$attrs" v-on="$listeners">
    <el-option
      v-for="item in postList"
      :label="item.postName"
      :value="item.postId"
      :key="item.postId"
    />
  </el-select>
</template>

<script>
import {mapGetters} from "vuex";

export default {
  name: "index",
  computed:{
    ...mapGetters(['postList'])
  },
  data(){
    return {

    }
  },
  mounted() {

  }
}
</script>

<style scoped>

</style>
